package com.medical.lsq.dao;

import com.medical.lsq.entity.SysMenu;
import com.medical.lsq.entity.SysNhorgan;
import com.medical.lsq.entity.SysPolicy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper {
    int deleteByPrimaryKey(String menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(String menuId);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
    List<SysMenu> getMenuList(@Param("menuName") String menuName);
    /**
     * 根据areaId获取所有子区域信息列表
     * @return
     */
    List<SysMenu> getMenuChilderList(@Param("menuId") String menuId);
}